package com.imooc.dto;

import lombok.Data;

/**
 * 功能描述: <br>
 * ( 购物车信息传输对象)
 *
 * @Author:Mr. xyb
 * @Date: 2018/5/18 16:58
 * @since: 1.8.0
 * @version: 1.0.0
 */
@Data
public class CartDto {

    /**
     * 商品Id.
     */
    private String productId;

    /**
     * 数量.
     */
    private Integer productQuantity;

    public CartDto(String productId, Integer productQuantity) {
        this.productId = productId;
        this.productQuantity = productQuantity;
    }
}
